package com.example;

import org.springframework.stereotype.Service;

@Service
public class IncomeTaxCalculatorServiceImpl implements IncomeTaxCalculatorService {
    private IncomeTaxCalculator calculator = new IncomeTaxCalculator();

    @Override
    public float calculateTax(float income) {
        return calculator.calculateTax(income);
    }
}
